package com.liyiruo.controller;

import org.apache.juli.logging.Log;
import org.apache.juli.logging.LogFactory;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liyiruo
 * @Description
 * @Date 2024/4/9 下午5:19
 */
@RequestMapping("test1")
@RestController
public class Service1Controller {

    private static final Log log = LogFactory.getLog(Service1Controller.class);

    @RequestMapping("/{str}")
    public String get(@PathVariable("str") String str) {
        log.debug("接收到的参数为===》".concat(str));
        return str;

    }

}
